package com.yx.elastic.elasticcm.orm;

import com.alibaba.fastjson.JSON;

/**
 * 所有的elastic ORM类转换对象
 * Created by chenzp on 18-8-2.
 */
public class ElasObject {

    //索引名称
    private String index;
    //文档类型
    private String type;

    //文档id
    private String id;

    //文档内容
    private JSON json;

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public JSON getJson() {
        return json;
    }

    public void setJson(JSON json) {
        this.json = json;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
